<pre><?
//You need to have all skills locally stored for this to properly work
define('GWBBCODE_ROOT', '..');
require_once(GWBBCODE_ROOT.'/gwbbcode.inc.php');

//Load skill database
$skills = require(SKILLS_PATH_1);  //Can't use array_merge here otherwise keys get lost
$add_list = require(SKILLS_PATH_2);
foreach ($add_list as $key => $val) {
   $skills[$key] = $val;
}

foreach ($skills as $id => $skill) {
   if (preg_match_all('|([0-9]+)\.\.([0-9]+)|', $skill['desc'], $regs, PREG_SET_ORDER)) {
      $vals_0 = Array();
      $vals_15 = Array();
      foreach($regs as $fork) {
         list($all, $val_0, $val_15) = $fork;
         $var_val = fork_val($val_0, $val_15, 15);
         if (   isset($vals_0[$var_val]) && ($vals_0[$var_val] != $val_0 || $vals_15[$var_val] != $val_15)) {
            echo $skill['name'] . ': ' . $skill['desc'] . "\n";
         }
         else {
            $vals_0[$var_val] = $val_0;
            $vals_15[$var_val] = $val_15;
         }
      }
   }
}

?></pre>